
package ch.hearc.coursJava.kitBase.hello;

import com.bilat.tools.io.console.Clavier;

public class Secondaire
	{

	/*------------------------------------------------------------------*\
	|*							Methodes Public							*|
	\*------------------------------------------------------------------*/

	public static void dosomething()
		{
		afficher();
		saisir();
		}

	/*------------------------------------------------------------------*\
	|*							Methodes Private						*|
	\*------------------------------------------------------------------*/

	private static void afficher()

		{
		int n = 3;

		for(int i = 1; i <= n; i++)
			{
			System.out.println("Hello" + i);

			}
		}

	private static void saisir()
		{
		double read;
		do
			{
			read = Clavier.lireDouble("a (>0) =");
			} while(read <= 0);

		System.out.println("a (>0) = " + read);
		}
	}
